import request from '@/utils/request'

// 查询商会会议列表
export function listMeeting(query) {
    return request({
        url: '/dynamics/meeting/list',
        method: 'get',
        params: query
    })
}

// 查询商会会议详细
export function getMeeting(id) {
    return request({
        url: '/dynamics/meeting/' + id,
        method: 'get'
    })
}

// 新增商会会议
export function addMeeting(data) {
    return request({
        url: '/dynamics/meeting',
        method: 'post',
        data: data
    })
}

// 修改商会会议
export function updateMeeting(data) {
    return request({
        url: '/dynamics/meeting',
        method: 'put',
        data: data
    })
}

// 删除商会会议
export function delMeeting(id) {
    return request({
        url: '/dynamics/meeting/' + id,
        method: 'delete'
    })
}

// 新增商会会议
export function examine(data) {
    return request({
        url: '/dynamics/meeting/examine',
        method: 'post',
        data: data
    })
}